package com.ruoyi.project.operationalsystem.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 故障申报对象 v_declare
 * 
 * @author ruoyi
 * @date 2020-05-09
 */
public class VDeclare extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 故障类型（0：停电申报，1：设备申报。2：其他申报） */
    @Excel(name = "故障类型", readConverterExp = "0=：停电申报，1：设备申报。2：其他申报")
    private String problemDeclare;

    /** 站点名称 */
    @Excel(name = "站点名称")
    private String stationname;

    /** 故障描述 */
    @Excel(name = "故障描述")
    private String errorDescription;

    /** 站点code */
    @Excel(name = "站点code")
    private String stationcode;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String imagePath;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 故障状态(0：未处理。1，处理中，2，处理完成） */
    @Excel(name = "故障状态(0：未处理。1，处理中，2，处理完成）")
    private String faultState;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProblemDeclare(String problemDeclare) 
    {
        this.problemDeclare = problemDeclare;
    }

    public String getProblemDeclare() 
    {
        return problemDeclare;
    }
    public void setStationname(String stationname) 
    {
        this.stationname = stationname;
    }

    public String getStationname() 
    {
        return stationname;
    }
    public void setErrorDescription(String errorDescription) 
    {
        this.errorDescription = errorDescription;
    }

    public String getErrorDescription() 
    {
        return errorDescription;
    }
    public void setStationcode(String stationcode) 
    {
        this.stationcode = stationcode;
    }

    public String getStationcode() 
    {
        return stationcode;
    }
    public void setImagePath(String imagePath) 
    {
        this.imagePath = imagePath;
    }

    public String getImagePath() 
    {
        return imagePath;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setFaultState(String faultState) 
    {
        this.faultState = faultState;
    }

    public String getFaultState() 
    {
        return faultState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("problemDeclare", getProblemDeclare())
            .append("stationname", getStationname())
            .append("errorDescription", getErrorDescription())
            .append("stationcode", getStationcode())
            .append("imagePath", getImagePath())
            .append("userId", getUserId())
            .append("faultState", getFaultState())
            .toString();
    }
}
